import React from 'react';
import { BrowserRouter as Router} from 'react-router-dom';
import { ChakraProvider, CSSReset } from "@chakra-ui/react";
import theme from "@chakra-ui/theme";
import App from '../pages/App'

const  BasicRoute=()=> {
    return (
      <Router>
      <ChakraProvider theme={theme}>
      <CSSReset/>
       <App/>
        </ChakraProvider>
      </Router>
    );
  }

export default  BasicRoute;
